﻿using MediatR;
using Traceability.ErrorCode;
using Traceability.Read.Api.Dto;

namespace Traceability.Read.Api.Application.Command
{
    public class LoginCommand:IRequest<ApiResult<LoginDto>>
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
}
